package com.newtouch.bxzs.business.product.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 新增或修改产品VO类
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2020/12/31 16:24</td>
 * <td>xiongdianqiang</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author xiongdianqiang
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@ApiModel("产品新增或修改VO类")
public class ModifyProductVO implements Serializable {

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 864103454118497273L;

	@ApiModelProperty(value = "产品主键", required = true)
	private String productId;

	@ApiModelProperty(value = "按钮类型（1：暂存，2：发布，3：撤销）", required = true)
	private String buttonType;

	@ApiModelProperty(value = "产品名称", required = true)
	private String productName;

	@ApiModelProperty(value = "发布时间")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date publishTime;

	@ApiModelProperty(value = "撤销时间")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date revokeTime;

	@ApiModelProperty(value = "主推标识")
	private Boolean mainProduct;

	@ApiModelProperty(value = "产品标签")
	private String productLabel;

	@ApiModelProperty(value = "产品话术")
	private String productSpeechCraft;

	@ApiModelProperty(value = "产品分享标题")
	private String productShareTitle;

	@ApiModelProperty(value = "产品分享简介")
	private String productShareIntroduction;

}
